Skip to content

Fix LogsArchivesApiTest failures for new lookup/partitioning attributes#3940

Draft
nogates wants to merge 1 commit into
masterfrom
datadog-api-spec/test/mateo-villa/LOST-41/add-accelerated-archive-search-attributes-to-archives-api-spec
Draft

Fix LogsArchivesApiTest failures for new lookup/partitioning attributes#3940
nogates wants to merge 1 commit into
masterfrom
datadog-api-spec/test/mateo-villa/LOST-41/add-accelerated-archive-search-attributes-to-archives-api-spec

Conversation

@nogates
Copy link
Copy Markdown
Contributor

@nogates nogates commented Jun 2, 2026

Add lookup_attributes and partitioning_attributes (empty arrays) to all archive response fixtures to match real backend behavior. Also configure the test ObjectMapper with NON_NULL inclusion so the WireMock request stub does not expect null fields that the API client correctly omits.

What does this PR do?

Additional Notes

Review checklist

Please check relevant items below:

  • This PR includes all newly recorded cassettes for any modified tests.

  • This PR does not rely on API client schema changes.

    • The CI should be fully passing.
  • Or, this PR relies on API schema changes and this is a Draft PR that includes tests.

    • Note: CI shouldn't be run on this Draft PR, as its expected to fail without the corresponding schema changes.

Add lookup_attributes and partitioning_attributes (empty arrays) to all
archive response fixtures to match real backend behavior. Also configure
the test ObjectMapper with NON_NULL inclusion so the WireMock request
stub does not expect null fields that the API client correctly omits.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@nogates nogates force-pushed the datadog-api-spec/test/mateo-villa/LOST-41/add-accelerated-archive-search-attributes-to-archives-api-spec branch from 550b19a to 61628ec Compare June 2, 2026 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant